package fr.obsmip.sedoo.client.service;

import java.util.ArrayList;

import com.google.gwt.user.client.rpc.AsyncCallback;

import fr.obsmip.sedoo.shared.domain.SearchCriteriaDTO;
import fr.obsmip.sedoo.shared.domain.SummaryDTO;

public interface SearchServiceAsync {

	void getSummaries(SearchCriteriaDTO criteria, int position, int size, ArrayList<String> languages,
			AsyncCallback<ArrayList<SummaryDTO>> callback);

	void getHits(SearchCriteriaDTO criteria, AsyncCallback<Integer> callback);

}
